Make it work for vertical panels too