def hide_finance_and_tweets(input):
    """
    Controls the visbility of the finance and tweets sections

    :param input: the ticker selection
    :return: two dicts setting the visibility
    """
    if input:
        return {'display':'block'},{'display':'block'}
    else:
        return {'display':'none'},{'display':'none'}