added vertical style, change theme handling