remove unused horizontal elements if entry count is lesser than 5