Show frame only if scroll bars are visible