Check the first-child/last-child and do the curve on hover...

Signed-off-by: Antes <antes@simplemachines.org>